cmake_minimum_required(VERSION 3.20 FATAL_ERROR)

project(recipe-03 LANGUAGES CXX)

set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}")

include_directories(${PROJECT_SOURCE_DIR}/libsrc)

add_subdirectory(libsrc)
# add_subdirectory(bin)

add_executable(hello-world hello-world.cpp)

target_link_libraries(hello-world PUBLIC message-objs)